package com.shiliao.app.update;


import com.yimei.framework.base.serializer.JSONKey;
import com.yimei.framework.mvp.entity.BaseEntity;

public class UpdateEntity extends BaseEntity {

    @JSONKey(keys = "update_msg", type = String.class)
    public String updateMsg; //更新说明

    @JSONKey(type = Integer.class, keys = "status")
    public int status; //状态，204无新内容，200获取到了更新内容

    @JSONKey(keys = "isUpdateFlag", type = Integer.class)
    public int forceUpdate; //是否强制更新 0否  1是

    @JSONKey(type = Float.class, keys = "app_version")
    public float vesion; // 最新版本号


    @JSONKey(keys = "url", type = String.class)
    public String url; //apk/ios更新文件路径

    public String getUpdateMsg() {
        return updateMsg;
    }

    public void setUpdateMsg(String updateMsg) {
        this.updateMsg = updateMsg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getForceUpdate() {
        return forceUpdate;
    }

    public void setForceUpdate(int forceUpdate) {
        this.forceUpdate = forceUpdate;
    }

    public float getVesion() {
        return vesion;
    }

    public void setVesion(float vesion) {
        this.vesion = vesion;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
